@import './reset';
$top: rgb(15, 15, 15);
$white: rgb(170, 170, 170);

.error {
    border: 1px solid red;
    background-color: #fdd;
}

.body {
    background-color: rgb(212, 212, 212);
}

#top {
    margin: 0 auto;
}

#top {
    width: 100%;

    height: 148px;
    background-color: $top;
}

#top>section {
    width: 100%;
    height: 120px;
    background-color: $top;
}

.cf {
    width: 1200px;
    height: 90px;
    margin: 0 auto;

    img {
        width: 400px;
        float: left;
        position: relative;
        top: 10px;
    }

    .right {
        float: right;
        width: 410px;
        height: 100%;
        color: $white;
        display: flex;
        justify-content: space-between;
        align-items: center;

        div {
            position: relative;
        }

        input {
            width: 180px;
            border-radius: 15px;
            height: 30px;
            background-color: #242424;
            border: none;
            padding-left: 35px;
            color: rgb(255, 255, 255);
        }

        button {
            position: absolute;
            height: 30px;
            background-color: #242424;
            border: none;
            border-radius: 15px 0 0 15px;
            line-height: 30px;
            text-align: center;
        }
    }
}

.nav {

    width: 1200px;
    margin: 0 auto;
    height: 60px;

    li {
        float: left;
        color: $white;
        width: 120px;
        height: 58px;
        line-height: 60px;
        text-align: center;

    }

    .div {
        float: right;
        color: white;
        width: 120px;
        height: 40px;
        line-height: 40px;
        text-align: center;
        position: relative;

        .span {
            float: right;


        }
    }
}

.nav-wrap {
    border-top: 0.5px solid $white;
}

//下拉菜单
.slide_down {
    position: absolute;
    width: 1300%;
    height: 550px;
    background-color: rgb(255, 255, 255);
    z-index: 500;
    top: 48px;
    right: -160px;
    display: none;
    justify-content: center;

}

.slide_down>div>div {
    display: flex;
    flex-direction: column;
    border-bottom: 2px solid rgb(196, 28, 28);
    align-items: center;
    margin-left: 20px;

    img {
        width: 30px;
    }
}

.slide_down>div {
    padding-top: 30px;

    p {
        color: black;
    }

    ul {
        li {
            float: none;
            color: black;
            height: 30px;
        }
    }
}



// #main{
//     width: 1280px;
//     margin: 0 auto;
//     min-height:1300px ;
//     background-color: white;

//     border-radius:10px;
//     padding: 40px;

// }









.footer {
    width: 100%;
    background-color: black;
    height: 450px;
    margin-top: 20px;

    .dir {

        width: 1200px;
        height: 200px;
        display: flex;
        align-items: center;
        margin: 0 auto 30px;
        justify-content: space-between;
        border-bottom: 1px solid white;

        .a1 {
            position: relative;
            width: 300px;
            display: flex;
            height: 150px;

            img:first-child {
                width: 200px;
                align-self: flex-start;
            }

            img:last-child {
                position: absolute;
                right: 5px;
                bottom: 10px;
            }


        }

        .a2 {
            border-right: 1px solid rgb(153, 153, 153);
            width: 500px;
            display: flex;
            justify-content: center;
            align-items: center;
            border-left: 1px solid rgb(153, 153, 153);

            ul {

                li {
                    float: left;
                    width: 240px;
                    font-size: 20px;
                    text-align: center;
                    color: $white;
                    height: 40px;
                    line-height: 40px;
                }
            }
        }

        .a3 {
            width: 300px;

            height: 150px;
            display: flex;
            justify-content: space-around;
            align-items: center;

            img {
                width: 100px;
            }

            dd {
                padding-top: 5px;
                padding-left: 5px;
                color: $white;
            }
        }

    }

    .bottom {
        color: $white;

        a {
            color: $white;

            &:hover {
                color: white;
            }
        }

        p {
            text-align: center;
        }

        div {
            display: flex;
            width: fit-content;
            margin: 40px auto;

            img {
                margin-right: 10px;
            }
        }
    }

}















//弹出层样式
#layui-layer1 .layui-layer-title {


    span {
        display: block;
        width: 250px;
        // border: 1px solid ;
        text-overflow: initial;
    }

    .layui-this {
        background-color: rgb(55, 80, 224);
        color: white;

    }


}












#layui-layer1 .layui-layer-content {
    width: 100%;

    a:hover {
        text-decoration: underline !important;
    }

    position: absolute;

    span {
        color: blue;
    }

    text-align: center;

    .log {
        padding-right: 15px;
        text-align: right;
    }

    div {

        img {
            position: relative;
            left: 200px;
        }
    }

}

#ipt {
    margin: 20px 0;
}

#log-btn {
    width: 180px;
    background-color: green;
    border: none;
    color: white;
    margin-bottom: 60px;
}